package com.anti.jdbc.core.executor.meta.resolver;

import com.anti.jdbc.core.executor.meta.Element;
import com.anti.jdbc.core.executor.meta.FieldElement;

import java.lang.annotation.Annotation;


/**
 *  Transient Annotation parser
 */
public class CreatedDateResolver implements Resolver {
	@Override
	public void resolve(Element element, Annotation annotation) {
		FieldElement fieldElement = (FieldElement)element;
		fieldElement.setCreatedDateField(Boolean.TRUE);
	}
	
}